package cn.lifei.basic.util;

import cn.lifei.org.domain.Department;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageInfo<T> {
    private Long total = 0L;//同下
    private List<T> list = new ArrayList<>();//没有数据局给一个空集合，不能为null

}
